-- GENERATED SPELL FOR [Defias Smuggler] --


function spell0_95(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(53,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_95', 521, 1)
end

function spell1_95(pUnit, Event) --@Throw,n/a--
pUnit:FullCastSpellOnTarget(10277,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_95', 500, 1)
end

function Sorts_95(pUnit, Event)
local choix_sorts_95 = math.random(0, 1)
if choix_sorts_95 == 0 then
pUnit:RegisterEvent('spell0_95', 1, 1)
end
if choix_sorts_95 == 1 then
pUnit:RegisterEvent('spell1_95', 1, 1)
end
end

function mob95_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_95', math.random(1500, 3000), 1)
end

function mob95_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob95_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob95_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(95, 1, 'mob95_Action')
RegisterUnitEvent(95, 2, 'mob95_Leave')
RegisterUnitEvent(95, 3, 'mob95_Kill')
RegisterUnitEvent(95, 4, 'mob95_Die')
